package com.shanzmoo.db.store.service.impl;

import com.shanzmoo.db.store.entity.StoreReceiveBillDetailEntity;
import com.shanzmoo.db.store.entity.vo.StoreReceiveBillDetailVO;
import com.shanzmoo.db.store.entity.query.StoreReceiveBillDetailQuery;
import com.shanzmoo.db.store.mapper.StoreReceiveBillDetailMapper;
import com.shanzmoo.db.store.service.IStoreReceiveBillDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仓库收货单明细 服务实现类
 *
 * @author Gzhao 2021-03-11
 */
@Service
public class StoreReceiveBillDetailServiceImpl extends ServiceImpl<StoreReceiveBillDetailMapper, StoreReceiveBillDetailEntity>
        implements IStoreReceiveBillDetailService {

    @Override
    public List<StoreReceiveBillDetailVO> queryPageList(StoreReceiveBillDetailQuery query) {
        return baseMapper.queryPageList(query);
    }

    @Override
    public List<StoreReceiveBillDetailVO> getListInfoByBillId(Integer id) {
        return baseMapper.getListInfoByBillId(id);
    }

    @Override
    public List<StoreReceiveBillDetailVO> queryListByIds(List<Integer> billIds) {
        return baseMapper.queryListByIds(billIds);
    }
}
